# Contributor: guddaff <guddaff@protonmail.com>
# Maintainer: guddaff <guddaff@protonmail.com>
pkgname=dehydrated
pkgver=0.7.0
pkgrel=0
pkgdesc="shellscript letsencrypt/acme client"
options="!check" #there are no checks
url="https://github.com/dehydrated-io/dehydrated"
arch="noarch"
license="MIT"
source="$pkgname-$pkgver.tar.gz::https://github.com/dehydrated-io/dehydrated/archive/refs/tags/v$pkgver.tar.gz"

package() {
	install -Dm755 dehydrated "$pkgdir"/usr/bin/dehydrated
	install -Dm644 docs/examples/config "$pkgdir"/etc/dehydrated/config
	install -Dm644 docs/examples/domains.txt "$pkgdir"/etc/dehydrated/domains.txt
}

sha512sums="47740d2d31ca73482a4fc5ed0dfce986af907dd5449cb3a5230bf9683845686c8122fc32e6219a4439574ef11d6fb104ee09591c5ff667927a2c9c13ba005511  dehydrated-0.7.0.tar.gz"
